Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
개요
braillify라이브러리의 기능을 Java 생태계에서 사용할 수 있도록 지원하는 Java 바인딩을 추가합니다.native-lib-loader를 통해 실행 환경(OS, Arch)에 맞는 네이티브 라이브러리를 자동으로 로드합니다.패키지 구조 (
packages/java)프로젝트의 주요 구조와 구성 요소는 다음과 같습니다.
GitHub Actions 설명 (
java-release.yml)build-native-libs(Multi-OS Build):assemble-jar(Universal Packaging):braillify를 사용할 수 있습니다.packages/java/jar폴더에 자동으로 업데이트됩니다.추가 논의 필요사항
JNI 구현 방식 등 개선이 필요한 부분이 있다면 언제든 피드백 부탁드립니다. 적극적으로 반영하겠습니다.
Maven 저장소 배포
현재 로컬 빌드 및 JAR 생성을 위한 액션 샘플은 작성하였습니다.
Maven Central 중앙 저장소에 배포하는 설정 및 권한 관리는 메인테이너분께 확인 및 지원을 부탁드립니다.
** 테스트 추가 필요 **
추후 기존 csv로 작성된 테스트 케이스를 읽고, 빌드된 jar로 각 os별 테스트를 수행하도록 해야합니다.
테스트
ref: https://github.com/thelightway24/braillify-java-sample/actions/runs/20882728795/workflow
ref #47